home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / misc_pto / autil100 / blanklin.asi < prev    next >
Text File  |  1991-11-18  |  884b  |  37 lines

  1. start:
  2.  
  3. rem BLANKLIN.COM
  4.  
  5. rem Matt Roberts, 3 Cedar St., Montpelier, Vt 05602-3006
  6.  
  7. rem With DOS 3.X, you can create a blank line in a batch file by typing ECHO. 
  8. rem (ECHO with a period directly after it).  That doesn't work with versions 
  9. rem of DOS below 3.0; you have to use ECHO ., which puts annoying little dots 
  10. rem on your blank lines.  This utility makes a blank line without the dots.
  11.  
  12. rem It requires approximately 64K to run.
  13.  
  14. rem While the screen writes are more attractive, there is a problem in terms 
  15. rem of speed; this takes a while to load, especially on slow machines, which
  16. rem will slow down your batch files.
  17.  
  18. rem First, check for parameters, which tells the program how many blank lines
  19. rem to print.
  20.  
  21. a$=command$
  22. b$=mid$(a$,2,79)
  23.  
  24. printlin:
  25. a=val(b$)
  26.  
  27. if a$=" " then
  28. a=0
  29. endif
  30.  
  31. for line=1 to a
  32. print
  33. next line
  34.  
  35. finish:
  36. end
  37.